StoreEngine\hooks\DownloadPermissionHooks B

Total Complexity 87
Dependencies 3
Dependents 0
Total lines 411
Lines of code 255
Logical lines of code 173
Comment lines 113
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
download_product()
A
47 16 28
get_download_range()
A
45 13 41
download_headers()
A
44 11 43
readfile_chunked()
A
48 10 35
give_permissions()
A
48 9 32
check_if_paid_after_status_change()
A
61 9 12
download_file_force()
S
62 4 10
get_download_content_type()
S
60 3 12
download_error()
S
59 3 12
init()
S
71 2 6
__construct()
S
68 2 6
set_download_permissions()
S
69 2 7
check_if_paid_after_checkout()
S
73 2 5
delete_permissions()
S
69 1 6